package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

public interface CustomerDao {

    Page<Customer> page(@Param("page") Integer page, @Param("rows") Integer rows, @Param("customerName") String customerName);

    void save(Customer customer);

    void update(Customer customer, Integer customerId);

    void delete(@Param("ids") String[] id);
}
